package com.demo.serviceI.LoginandRegisterI;

import com.demo.mapper.LoginModules.LoginMapper;
import com.demo.service.LoginandRegister.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceI implements LoginService {

    @Autowired
  private LoginMapper loginMapper;



    @Override
    public int verifyUserAndPassword(String username, String password) {


        return loginMapper.verifyUserAndPassword(username,password);
    }
}
